-
Notifications
You must be signed in to change notification settings - Fork 811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Invalid regular expression: missing / #1110 #1111
Conversation
ty for making this PR |
Greep while we're waiting for this PR to be merged in I will be using the fork you made! |
Thanks for this guys. I'll be moving to this as well for now. hopefully this gets merged in soon. |
Looks like I have one approval but need 2 more approvals |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have some approvals but this is the blocker: Who is a maintainer? |
Maybe Can help as maintainers? |
It seems the project needs more maintainers or at least in different time zones as this critical issue has made the library unusable for a day. Anyway impressive effort solving it, thanks so much! |
It's been nearly an additional twelve hours. This is a breaking change and needs to be fixed ASAP. |
This is an open source project that is being provided to you for free. No one asked you to use it, no one sold it to you, and most importantly, no one owes you anything. The license is clear on this: 'THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED...' If you really need this "fixed ASAP", you can do it yourself. The code is right there in this pull request. Here's one of many ways to hot-patch an existing installation.
You could also follow the suggestion at #1110 (comment) to use the patch author's fork. Or you could downgrade to 4.10.0. |
@dskaiser82 @GreepTheSheep This repository uses |
@Trott Agree with you btw on the open source comment, and the multiple temp solutions out there. It's "2 workflows awaiting approval I dont think we have any maintainers paying attention to the PR.....even so yes I can ammend the commit |
Yeah, I don't think it's a blocker at the moment. I'm just saying that you might want to have the commit message formatted the way the tool will expect it so that it doesn't end up delaying things later on.
|
"A repository owned by a personal account has two permission levels: the repository owner and collaborators. For more information, see "Permission levels for a personal account repository." Need that "write access". |
@Trott When the Merge button shows, we will do a squashed commit the GitHub GUI let's the user do. We can squash then. This is an example of a squashed commit: feat: add IPv6 block rotating (#713)
|
btw using close keyword in pr description like "close #issueid" will make a link to the original issue and automatically close the issue when the pr was merged, it might be better if so |
Ty for being so fast with this fix 🚀 |
@TimeForANinja Anything else that needs to happen here before this can be merged? |
@Trott I don't think so. I used it with my app and it works very well. |
Thanks, but I was addressing @TimeForANinja specifically because they are (AFAICT) the one person who has been active in this pull request who has the permission to merge the commit. It was a hopefully-polite way of saying "bump, please--can we merge this now?" |
just one thing @Trott and @dskaiser82 |
tried some stuff no idea what exactly went wrong here #1110 (comment) |
I did this PR from @GreepTheSheep 's Fork. I've personally been using the fork and know this code update works. With that being said, we can go with your changes instead and I can close this PR. As you are a maintainer just advise what you'd like to do. cc: @Trott |
One of the array elements found in a base.js n-code extraction today is ... -1816574795, '",;/[;', function ... which would break cutAfterJSON because you would have an orphan double quote. Perhaps if single quotes and back quotes are also added as string markers, that would do it. I also prefer to keep cutAfterJSON to extract the complete js function. Using .join("");} as the end marker (in the proposed solution) will break as soon as Youtube change it to something else. Whereas a robust cutAfterJSON would assimilate any future changes. |
I vouch for @gatecrasher777 change. At least the fork and this PR. @fent Any chance you can add one more Maintainer to me, @Trott , @gatecrasher777 or @GreepTheSheep ? We have a fix...we have a PR that at the most is long term and at least a good band aid to fix for all the users that use this. Maybe it's time to give up on this main Repo? This process is sad and disheartending.....I get if current maintainets are over or it....I do...But can at leat communicate this and the need to jump to new fork or repo? cc: |
And I get it..... @fent makes some thing awesome that devs use... Coders like @TimeForANinja help maintain it. Countless hours are put in to make it better and keep it a live....Noone is getting paid.....over time energy and momentum is lost.... But for the devs that do give a shit about and want to help....puts us in an frustrating situation.....which we have options.... |
const functionBody = `var ${functionStart}${utils.cutAfterJSON(subBody)};${functionName}(ncode);`; | ||
const end = body.indexOf('.join("")};', ndx); | ||
const subBody = body.slice(ndx, end); | ||
const functionBody = `${subBody}.join("")};${functionName}(ncode);`; | ||
functions.push(functionBody); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any changes requested for these lines
replaced by #1126 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well for me
I didn't write this code fix and give the credit to @GreepTheSheep
Temporary Fix for YouTube's new signature which is linked to this issue
#1110
Please review for approval
closes #1110
closes #1113